package com.woniuxy.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.woniuxy.pojo.Cars;

public interface CarsMapper {
	
	List<Cars> getAll();
	
    
	int deleteByPrimaryKey(Integer carId);

	int deleteCars(String carIds);

	int insert(Cars record);

	int insertSelective(Cars record);

	Cars selectByPrimaryKey(Integer carId);



	List<Cars> selectAll(String condition);

	int updateByPrimaryKeySelective(Cars record);

	int updateByPrimaryKey(Cars record);

	List<String> selectAllCarlicense();
	
	void updateCarStatus(@Param("carlicense")String carlicense,@Param("status")String status);
	
	List<String> selectAllAvailCarlicense();
	
	List<String> selectAllUnusableCarlicense();

 

	List<Cars> selectStatus();


	
	Cars selectByCarLicense(String carLicense);

}